package com.ruoyi.listener.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mail") // 根据实际情况调整服务名称
public interface MailClient {
    @PostMapping("/mail/sendMail")
    String sendMail(@RequestParam("message") String message);
}